<template>
  <main class="wss-container">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="登录日志" name="login">
        <LoginInof></LoginInof>
      </el-tab-pane>
      <el-tab-pane label="操作日志" name="operation">
        <Operation></Operation>
      </el-tab-pane>
    </el-tabs>
  </main>
</template>

<script>
import LoginInof from "./loginInof.vue";
import Operation from "./operation.vue";

export default {
  components: { LoginInof, Operation },
  data() {
    return {
      activeName: "login",
    };
  },
  methods: {
    handleClick({ name }, event) {
      console.log(name, event);
    },
  },
};
</script>